package priv.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import priv.project.pojo.Rate;

public interface RateMapper extends BaseMapper<Rate> {
    void updateAllRateSum(@Param("sumUser") Integer sumUser,@Param("scenicId") Integer scenicId);
    void updateRate(@Param("sum1") Integer sum1
            ,@Param("sum2") Integer sum2
            ,@Param("sum3") Integer sum3
            ,@Param("sum4") Integer sum4
            ,@Param("sum5") Integer sum5
            ,@Param("sum6") Integer sum6
            ,@Param("scenicId") Integer scenicId);
}
